<?php
// 工具箱控制器
class TestAction extends Action {
	public function test(){
		$this->assign('id',I('id'));
		$department=M('Department');
		$this->data=$department->select();
		$this->display("Test:test");
	}

	public function test1(){
		$this->display("Test:test1");
	}
}